#ifndef POSICION_H_
#define POSICION_H_
#define MAX_COORD 8
#include <iostream>

class Posicion {
private:
    unsigned int x;
    unsigned int y;

public:
    Posicion();
    Posicion(const Posicion &);
    virtual ~Posicion();
    const unsigned int getX() const;
    const unsigned int getY() const;
    void setX(unsigned int x);
    void setY(unsigned int y);
    void incOrDecX(int x);
    void incOrDecY(int y);
    void cambiarCoordenadasNumericas(char, char);
    int charXToInt(char x) const;
    int charYToInt(char y) const;
    char intXToChar() const;
    char intYToChar() const;
    bool estaDentroDeTabla() const;
};
#endif /* POSICION_H_ */
